home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / f90 / pxfclearenv.z / pxfclearenv
Text File  |  1998-10-30  |  2KB  |  59 lines

  1. PXFCLEARENV(3F)                                        Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      PPXXFFCCLLEEAARREENNVV - Clears all environment variables
  6.  
  7. SSYYNNOOPPSSIISS
  8.      SSUUBBRROOUUTTIINNEE PPXXFFCCLLEEAARREENNVV ((_i_e_r_r_o_r))
  9.      IINNTTEEGGEERR _i_e_r_r_o_r
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      IEEE standard interface for FORTRAN 77
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      On IRIX systems, this routine is in lliibbffoorrttrraann..ssoo which is linked by
  19.      default when compiling programs with the MIPSpro 7 Fortran 90 compiler
  20.      or when compiling programs with the --ccrraayylliibbss option to the MIPSpro
  21.      7.2 F77 compiler.
  22.  
  23.      The subroutine PPXXFFCCLLEEAARREENNVV removes all environment variables for the
  24.      current process.
  25.  
  26.      When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
  27.      UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
  28.      kind unless documented otherwise.  On UNICOS and UNICOS/mk, default
  29.      kind is KKIINNDD==88 for integer, real, complex, and logical arguments; on
  30.      IRIX, the default kind is KKIINNDD==44.
  31.  
  32.      The following argument is used with this subroutine:
  33.  
  34.      _i_e_r_r_o_r  An output integer variable that contains a status of zero if
  35.              all environment variables were cleared.
  36.  
  37. EEXXAAMMPPLLEESS
  38.      This example shows how to use the PPXXFFCCLLEEAARREENNVV routine to clear the
  39.      environment variable for the current process.
  40.  
  41.                 program pxftest
  42.                 integer ierror
  43.                 CALL PXFCLEARENV(ierror)
  44.                 if (ierror .eq. 0) then
  45.                    print *,'PASSED: pxfclearenv test'
  46.                 else
  47.                    print *,'FAILED: pxfclearenv test'
  48.                 endif
  49.                 end
  50.  
  51.      This example may display:
  52.  
  53.           PASSED: pxfclearenv test
  54.  
  55. SSEEEE AALLSSOO
  56.      _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-
  57.      2165, for the printed version of this man page.
  58.  
  59.